package com.heu.blood.statistic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heu.blood.common.utils.PageUtils;
import com.heu.blood.statistic.entity.BloodUsagePurpose;
import com.heu.blood.statistic.entity.BloodUsagePurposeFirstVo;
import com.heu.blood.statistic.entity.EchartItem;

import java.util.List;
import java.util.Map;

public interface BloodUsagePurposeService extends IService<BloodUsagePurpose> {
//    List<BloodUsagePurpose> getBloodInformation();

    /**
     * 分页条件查询病人用血及用途统计
     */
    PageUtils queryPage(Map<String, Object> params);

    BloodUsagePurposeFirstVo getBloodUsageByPurpose();

    Map<String, List<EchartItem>> getBloodTypeAndDepartmentUsageByPurpose(String usageCode);
}
